package com.ck.dao;

import java.util.List;

import com.ck.domain.Exam;

public interface ExamDAO {
	
	public List<Exam> getAllUnstartExam();
	public List<Exam> getAllOnGoingExam();
	public List<Exam> getAllFinishedExam();
	public Exam getExamById(Integer id);
	public Exam getExamByTitle(String title);
	public Exam getUnstartExamById(Integer id);
	public void addNewExam(Exam exam);
	public void updateUnstartExamInfo(Exam exam);
	public void updatePaperForExam(Integer examID, Integer paperID);

}
